package domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Score {
    private Integer id;
    private String studentNum;
    private Double score;
    private String subjectName;

    private Student student;

    @Override
    public String toString() {
        return "Score{" +
                "studentNum='" + studentNum + '\'' +
                ", score=" + score +
                ", subjectName='" + subjectName + '\'' +
                '}';
    }
}
